package com.zdxlz.fcmp.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zdxlz.fcmp.business.entity.TicketInfoEntity;
import com.zdxlz.fcmp.business.dto.ict.TicketInfoDto;
import com.zdxlz.fcmp.business.vo.TicketInfoVo;

/**
 * <p>
 * 工单信息表 服务类
 * </p>
 *
 * @author: aman
 * @since 2025-02-08
 */
public interface ITicketInfoService extends IService<TicketInfoEntity> {

    /**
     * @description 分页查询工单列表数据
     * @author aman
     * @date 2025/2/10 17:19
     */
    IPage<TicketInfoVo> getList(Page<TicketInfoEntity> page, TicketInfoDto ticketInfoDto);

    /**
     * @description 入库工单信息和设备信息
     * @author aman
     * @date 2025/2/10 18:18
     */
    boolean createTicketInfo(TicketInfoDto ticketInfoDto);
}
